﻿using Furion.DatabaseAccessor;
using Gear.ORM.Core.Tenant;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Gear.Core.Entities.BizBase
{
    /// <summary>
    /// 审计日志表
    /// </summary>
    public class Audit 
    {
        /// <summary>
        /// 表名
        /// </summary>
        public string Table { get; set; }
        /// <summary>
        /// 更新的列
        /// </summary>
        public string Column { get; set; }
        /// <summary>
        /// 新值
        /// </summary>
        public string NewValue { get; set; }
        /// <summary>
        /// 旧值
        /// </summary>
        public string OldValue { get; set; }
        /// <summary>
        /// 操作人
        /// </summary>
        public string UserId { get; set; }
        /// <summary>
        /// 操作方式：新增、更新、删除
        /// </summary>
        public string Operate { get; set; }
    }
}
